//
//  CWQ_aboutUsVC.m
//  BaxTer
//
//  Created by 陈武琦 on 16/9/7.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "CWQ_aboutUsVC.h"
#import "UIImageView+BTimageView.h"
@interface CWQ_aboutUsVC ()
@property (weak, nonatomic) IBOutlet UIImageView *logo;
@property (weak, nonatomic) IBOutlet UILabel *verson;

@end

@implementation CWQ_aboutUsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.logo.layer.cornerRadius = 5.f;
    self.logo.layer.borderColor = [UIColor clearColor].CGColor;
    self.logo.layer.masksToBounds = YES;
   
    wsj_cornerRadius(self.verson, 12);
    self.verson.layer.borderWidth =1;
    self.verson.layer.borderColor =kBorderColor.CGColor;
    
    
    NSDictionary* infoDict =[[NSBundle mainBundle] infoDictionary];//读取 Info.plist文件的信息。
    //版本号CFBundleShortVersionString不可改
    
    NSString*shotVersion = [infoDict objectForKey:@"CFBundleShortVersionString"];
    
    //发布版本号CFBundleVersion不可改
    
    NSString*appVersion = [infoDict objectForKey:@"CFBundleVersion"];
    
    WSJLog(@"内测版本号是%@,发布版本号是%@",shotVersion,appVersion);
    self.verson.text = [NSString stringWithFormat:@"V%@",shotVersion];
    // Do any additional setup after loading the view from its nib.
}

- (double)getCurrentIOS {
    
    return [[[UIDevice currentDevice] systemVersion] doubleValue];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
